libxl: use LIBXL_TOOLSTACK_DOMID
authorWei Liu <wei.liu2@citrix.com>
Fri, 20 Mar 2015 16:19:11 +0000 (16:19 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 24 Mar 2015 15:46:04 +0000 (15:46 +0000)
commit585454fc54c9a8a2b6670f78fad21c0d932bcdef
tree632450e049a93abbcd62e61f0451e411d489dbcb
parente2155b6b0c0cc16f4fa85cc52ef58f7a4f6af5ec
libxl: use LIBXL_TOOLSTACK_DOMID

The function in question is libxl__spawn_local_dm. We should use
LIBXL_TOOLSTACK_DOMID when constructing xenstore path.

Currently LIBXL_TOOLSTACK_DOMID is 0, so this patch introduces no
functional change.

Use helper function to generate xenstore path.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_dm.c